'use strict';

/* Controllers */
  // signin controller
app.controller('appController', ['$scope', '$http', '$state', function($scope, $http, $state) {
    console.log(typeof window.appInfo.user);
    if (typeof window.appInfo.user !== 'object') $state.go('access.signin');
}]);
